module.exports = {
  publicPath: '/',
  outputDir: 'dist',
  assetsDir: 'assets',
  css: {
    loaderOptions: {
      sass: {
        prependData: "@import '@/assets/styles/global.scss'; @import '@/assets/styles/definition.scss';"
      }
    }
  },
  devServer: {
    port: process.env.VUE_APP_PORT,
    open: true,
    proxy: {
      '/api': {
        target: process.env.VUE_APP_APIURL,
        ws: true,
        changeOrigin: true
      }
    }
  }
}